.time-card{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  font-size: 12px;
  color: var(--cp-tip);
  margin: 15px;
  margin-top: 0;
  padding-top: 15px;
  .content{
    padding: 0 15px;
    line-height: 34px;
    background-color: #fff;
    border-radius: 17px;
    .tip{
      color: var(--cp-primary);
      font-weight: 600;
    }
  }
}
.patient-card{
  margin: 15px;
  background-color: #fff;
  border-radius: 10px;
  padding:15px;
  font-size: 12px;
  .patient-info{
    border-bottom: 1px solid var(--van-border-color);
    padding-bottom: 15px;
    p{
      line-height: 20px;
    }
    .flag{
      margin-top: 5px;
      font-size: 12px;
      color: var(--cp-dark);
    }
    .user{
      font-size: 16px;
    }
  }
  .van-row{
    .van-col{
      margin-top: 10px;
    }
    .van-col:nth-child(2n){
      color: var(--cp-tip);
      font-size: 13px;
    }
  }

}
.message-card{
  padding: 15px;
  display: flex;
  .ava{
    img{
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid var(--van-border-color);;
    }
  }
  .msg{
    margin:0 10px;
    
    .time {
      font-weight: 12px;
      color: var(--cp-tip);
      margin-bottom: 5px;
    }
    .content{
      position: relative;
      padding: 12px;
      background-color: #fff;
      border-radius: 8px;
      &::before{
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-right-color: #fff;
        top: 10px;
        left: -9px
      }
    }
    &.send{
      text-align: right;
      .content{
        color: #fff;
        background-color: var(--cp-primary);
        &::before{
          right: -9px;
          left: unset;
          border-right-color: transparent;
          border-left-color: var(--cp-primary);
        }
      }
    }
    img {
      width: 100px;
      border-radius: 10px;
    }
    .status {
      display: inline-block;
      color: var(--cp-tip);
      font-size: 12px;
      transform: scale(.9);
      margin-top: 5px;
    }
  }
}
.send-card{
  display: flex;
  flex-direction: row-reverse;
}
.recipe-card{
  .content{
    overflow: hidden;
    margin: 15px;
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
    padding: 16px;
    background-color: #fff;
  }
  .recipe-{
    &header{
      border-bottom: 1px solid var(--van-border-color);
      padding-bottom: 10px;
      p {
        margin: 5px 0;
        color: var(--cp-tip);
        font-size: 12px;
      }
    }
    &body{
      .body-item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        .durg{
          p:nth-child(1){
            font-weight: 600;
            margin-bottom: 6px;
          }
          p:nth-child(2) {
            color: var(--cp-tip);
            font-size: 12px;
          }
        }
      }
    }
    &foot{
      margin: 0 15px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      color: var(--cp-primary);
      font-weight: 600;
      background-color: #edf8f6;
    }
  }
  .pre-header{
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    span {
      font-size: 12px;
      color: var(--cp-tip);
    }
  }
}
.close-card{
  .content {
    background-color: #ededec;
  }
}
.service-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  margin: 15px;
  background-color: #fff;
  border-radius: 10px;
  p{
    margin: 10px 0;
    color: var(--cp-tip);
    font-size: 12px;;
  }
  .van-rate{
    margin: 10px 0;;
  }
  .van-cell-group{
    width: 100%;
      margin: 0;
      background: #f6f5f8;
      ::v-deep(){
        .van-cell{
          background-color: unset;
          font-size: 13px;
        }
      }    
  }
  .submit{
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 10px;
    ::v-deep(){
      .van-checkbox__label{
        color: var(--cp-tip);
      }
    }
    .van-button{
      border: none;
      padding: 0 13px;
      &.disabled{
        color: var(--cp-tip);
        background-color: #fafafa;
      }
    }
  }
}